package com.langll.ai.minio.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 文件上传VO
 */
@Accessors(chain = true)
@Schema(description = "minio Upload 文档返回对象")
@Data
public class UploadFileVo implements Serializable {
    @Schema(description = "数据库中的id")
    private Long id;
    @Schema(description = "文件名称")
    private String name;
    @Schema(description = "文件大小")
    private long size;
    @Schema(description = "文件对象存储id")
    private String fileObjectName;
    @Schema(description = "文件对象存储授权url")
    private String url;
    @Schema(description = "向量化状态")
    private String vectorState;
    @Schema(description = "create time")
    private LocalDateTime createTime;
    @Schema(description = "update time")
    private LocalDateTime updateTime;
}
